import socket from "@/socket";

const actions = {
    deleteDynamicImageFile(context, data) {
        return new Promise((resolve, reject) => {
            socket.emit('delete_dynamicImageFile', data, res => resolve(res));
        })
    },
    releaseDynamic(context, data) {
        return new Promise((resolve, reject) => {
            socket.emit('release_dynamic', data, res => resolve(res));
        })
    },
}

export default {
    namespaced: true,
    actions
}